package cc.lj.internal.merchant.domain.contract.model.vo.convert;

import cc.lj.internal.merchant.domain.contract.model.vo.PropertyResourcesDO;
import cc.lj.internal.merchant.infrastructure.po.PropertyResourcesPO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 物业资源展位表PO 与 DO之间的转换
 * @author liangxifeng
 * @date 2021-12-28
 */
@Mapper
public interface PropertyResourcesPOConvertDO {
    PropertyResourcesPOConvertDO INSTANCE = Mappers.getMapper(PropertyResourcesPOConvertDO.class);
    //po to do
    PropertyResourcesDO convert(PropertyResourcesPO resourcesPO);

    //do to po
   PropertyResourcesPO convert(PropertyResourcesDO resourcesDO);
}
